<%
	session.setAttribute("test2Session","test2Session");
	session.getServletContext().setAttribute("t2_session",session);
	out.println("Application /test2 is ok!<br>");
	
	if(session.getServletContext().getContext("/")!=null){
		HttpSession t1_session = (HttpSession)session.getServletContext().getContext("/").getAttribute("t1_session");
		if(t1_session!=null){
			String str = (String)t1_session.getAttribute("test1Session");
			String path = request.getContextPath();
			out.println("Application "+path +":"+str+"<br>");
		}else{
			out.println("Application /test1 no data!");
		}
	}
%>